home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / comm / bgft300b.zip / BGFT300B.EXE / BGFTADD.BAT < prev    next >
DOS Batch File  |  1992-10-13  |  762b  |  31 lines

  1. echo off
  2.  
  3. echo BGFTADD.BAT Version 3.00, Copyright (c) 1990-1992 Dirac Systems
  4.  
  5. rem Batch file to add BGFT as an external protocol to telix.
  6. rem This is done by adding some lines to the file TELIX.CNF,
  7. rem which must be in the current directory.
  8.  
  9. if exist TELIX.CNF goto OK1
  10. echo BGFTADD ERROR: must have TELIX.CNF in the current directory.
  11. goto END
  12.  
  13. :OK1
  14. if exist BGFTTELX.DAT  goto OK2
  15. echo BGFTADD ERROR: must have BGFTTELX.DAT in the current directory.
  16. goto END
  17.  
  18. :OK2
  19. if not exist TELIXCNF.BAK goto OK3
  20. del TELIXCNF.BAK
  21.  
  22. :OK3
  23. ren TELIX.CNF TELIXCNF.BAK
  24. copy TELIXCNF.BAK+BGFTTELX.DAT TELIX.CNF
  25.  
  26. echo Backup of config. file saved as: TELIXCNF.BAK
  27. echo New config. file is:             TELIX.CNF
  28.  
  29. :END
  30. echo BGFTADD.BAT Completed.
  31.